//
//  ReadABView.h
//  LineByLine
//
//  Created by 병철 김 on 11. 10. 4..
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ShadowedTextViewGroup.h"
#import "ShadowedTextView.h"


@protocol PairTableViewCellDelegate <NSObject, ShadowedTextViewDelegate>
- (void) colDidChanged:(int) col;
@end

@interface PairTableViewCell : UITableViewCell<UIScrollViewDelegate> {
    id sentence;
    id<PairTableViewCellDelegate> viewDelegate;
    UIScrollView *pairView;
    int rowId;
    int col;
    
    ShadowedTextViewGroup *leftText;
    ShadowedTextView *rightText;
}

- (void) configView;

@property(retain, nonatomic) id sentence;
@property(assign, nonatomic) id<PairTableViewCellDelegate> viewDelegate;
@property(assign, nonatomic) int rowId;
@property(assign, nonatomic) int col;

@end
